
//手机
@media screen and (max-width: 768px) {
    .header-content{
        
    }
}

//平板小屏幕电脑
@media screen and (min-width: 769px) {
    #wrap{
        background-color: #f0eef5;
        #header{
            background-color: #169fe6;
            .navigator-content{
                position: relative;
                width: 1200px;
                overflow: hidden;
                border: 1px solid #138cca;
                border-left: none;
                border-right: none;
               .navigator{
                    margin: 0 auto;
                    float: left;
                    ul{
                        overflow: hidden;
                        li{
                            float: left;
                            font-size: 19px;
                            a{
                                padding: 20px;
                                color: #fff;
                                &:hover{
                                    background-color: #fff;
                                    color: #2a2a2a;
                                }
                            }
                        }
                    }
               }
               .search{
                   float: left;
                   position: absolute;
                   top: 50%;
                   right: 0;
                   margin: -15px 0 0 20px;
                   height: 30px;
                   width: 200px;
                   background-color: #fff;
                   border-radius: 5px;
                   line-height: 30px;
                   padding-left: 15px;
                   span{
                       position: absolute;
                       right: 0;
                       top: 0;
                       height: 100%;
                       padding: 0 5px;
                       cursor: pointer;
                       transition: 0.5s color;
                       &:hover{
                           color: #777;
                       }
                   }
               }
            }
        }
        #main{
            
            .mainContent{
                margin: 20px auto;
                width: 1200px;
                > div{
                    float: left;
                }
                #main-left{
                    width: 880px;
                    background: #fff;
                    .wt:last-child{
                        border: 1px solid #e3e3e3;
                    }
                    .wt{
                        padding: 20px;
                        border: 1px solid #dedede;
                        border-bottom: 1px solid rgba(255, 255, 255, 1);
                        line-height: 20px;
                        &:hover{
                            border: 1px solid #169fe6;

                        }
                        > div{
                            float: left;
                        }
                        a{
                            line-height: 35px;
                        }
                        // 时间
                        .wtTime{
                            background: #45bcf9;
                            margin-right: 20px;
                            font-size: 13px;
                            &:hover{
                                background-color: #1874cd;
                            }

                            &:hover > a{
                                text-decoration: underline #169fe6;
                            }

                            a{
                                color: #fff;
                                padding: 0 10px;
                            }
                        }
                        // 标题
                        .wtTitle{
                            color: #169fe6;
                            margin-bottom: 10px;
                            a{
                                font-size: 21px;
                                color: #555;
                                &:hover{
                                    color: #169fe6;
                                }
                            }
                        }
                        // 内容
                        .wtCon{
                            .wt-con-dec{
                                color: #2a2a2a;
                                font-size: 14px;
                                a{
                                    display: inline;
                                    color: #169fe6;
                                    &:hover{
                                        color: #009a61;
                                        text-decoration: underline;
                                    }
                                }
                            }
                        }
                        // 描述
                        .wtDsec{
                            font-size: 12px;
                            color: #777;
                            a{
                                display: inline;
                                color: #777;
                                &:hover{
                                    color: #2a2a2a;
                                    text-decoration: underline;
                                }
                            }
                        }
                        // 分割线
                        .wtSplit:not(:last-child){
                            width: 100%;
                            margin: 20px 0;
                            border-bottom: 1px dashed silver;
                        }
                        &:hover .wtSplit{
                            border-bottom: 1px dashed #169fe6;
                        }
                    }

                    
                }
                #main-right{
                    width: 300px;
                    margin-left: 20px;
                    .item-title{
                        font-size: 18px;
                        padding: 10px 20px;
                        background-color: #169fe6;
                        color: #fff;
                        font-weight: normal;
                        border: 1px solid #169fe6;
                        span{
                            display: inline;
                        }
                        .item-name{
                            float: right;
                            color: #fff;
                            &:hover{
                                text-decoration: underline;
                            }
                        }
                    }

                    > div{
                        margin-bottom: 30px;
                        transition: 0.2s transform, 02s box-shadow;
                        background-color: #fff;
                        &:hover{
                            transform: translate3d(0, -1px, 0);
                            box-shadow: 0 6px 16px rgba(19,109,249,.3);
                        }
                    }
                    .new-item{
                        .new-item-content{
                            padding-top: 10px;
                            background-color: #fff;
                            border: 1px solid #169fe6;
                            font-weight: 700;
                            .item-top{
                                padding: 10px;
                                padding-top: 0;
                                border-bottom: 1px solid #169fe6;
                                line-height: 40px;
                                .item-info{
                                    float: left;
                                    a{
                                        img{
                                            width: 40px;
                                            height: 40px;
                                            border-radius: 50px;
                                            float: left;
                                        }
                                        span{
                                            float: left;
                                            color: #3d3d3d;
                                            margin-left: 10px;
                                            &:hover{
                                                color: #00d2db;
                                            }
                                        }
                                    }
                                    
                                }

                                .item-add{
                                    float: right;
                                    margin-right: 20px;
                                    .recommend-add{
                                        display: inline;
                                        padding: 5px;
                                        border-radius: 5px;
                                        font-size: 13px;
                                        cursor: pointer;
                                        border: 1px solid #00d2db;
                                        color: #3d3d3d;
                                        transition: background-color 0.3s;
                                        &:hover{
                                            background-color: rgba(0, 210, 219, 0.2);
                                        }
                                    }
                                }
                            }
                            .item-bottom{
                                overflow: hidden;
                                .bottom-one{
                                    border-bottom: 1px solid #169fe6;
                                }
                                > div{
                                    > div{
                                        float: left;
                                        width: 33.3%;
                                        text-align: center;
                                        font-size: 13px;
                                        span{
                                            padding: 5px 0;
                                            color: #777;
                                        }
                                    }
                                }
                            }
                        }
                    }
                    .script-item{
                        .script-item-list{
                            ul{
                                li{
                                    padding: 15px;
                                    color: #777;
                                    border-bottom: 1px solid #e3e3e3;
                                    &:hover{
                                        background-color: #169fe6;
                                        color: #fff;
                                    }
                                    &:hover a{
                                        color: #fff;
                                    }
                                    a{
                                        float: left;
                                        color: #777;
                                        &:hover{
                                            color: #ccc;
                                        }
                                    }
                                }
                            }
                        }
                    }
                    // 文章档案 和阅读排行版一个样式
                    .write-reader{
                        .item-list{
                            ul{
                                li{
                                    padding: 10px;
                                    line-height: 30px;  
                                    border-bottom: 1px solid #e3e3e3;
                                    &:hover a{
                                        color: #169fe6;
                                    }
                                    a{
                                        color: #777;
                                        transition: color 0.2s;
                                    }
                                }
                            }
                        }
                    }
                }

            }
        }
        #footer{
            text-align: center;
            padding: 50px 0;
        }
    }
}
